package org.dromara.timemate.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.tenant.core.TenantEntity;

import java.io.Serial;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 心情指标
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tm_mood_metrics")
public class MoodMetrics  extends TenantEntity{
    @Serial
    private static final long serialVersionUID = 1L;
    /**
    * 主键
    */
    @TableId(value = "id")
    private Long id;

    /**
    * 穿戴者id
    */
    private Long wearerId;

    /**
    * 心情指标值
    */
    private BigDecimal moodScore;

    /**
     * 删除标志
     */
    @TableLogic
    private Integer delFlag;
}
